package msgs;
/**
 * Constants file for actions, adminactions and server responses
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 */
public interface TTConstants {
	Object lock = new Object();
	
	enum Actions {
		LOGIN, LOGOUT, BLOCK, UNBLOCK, QUERY, BL_UPDATE, WANT_BL, 
		PROFILE_UPDATE, PROFILE_REQUEST, NEW_CHAT, JOIN_CHAT,
		KILL_CHAT, PM_USER, OFFLINE_NOTICE, CHAT_UPDATE, OFFLINE_MSG, ADMIN_LOG_REQUEST, PM_LOG_UPDATE, ADMIN_DISCONNECT, ADMIN_LIST_CHATS,
		QUERY_GROUP, ONLINE_NOTICE, LEAVE_CHAT, KEEP_ALIVE
	};
	
	enum Responses {
		OK, DENY, ONLINE, OFFLINE, OK_OFFLINE_PM, NO_THEY_ARE_ONLINE
	};
	
	enum AdminActions {
		LOGIN, LOGOUT, BANHAMMER, UNBANHAMMER, GETPROFILE, SETPROFILE,
		GETBL, SETBL, LOGCHAT, LOGPM, DISCONNECT_USER, LIST_USER_CHATS, LIST_USERS_ONLINE, LIST_BANNED_USERS
	};
}
